﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace CodeFirstDomain.Model
{
    public class Address
    {
        public Address(){}

        public Address(string street, string building)
        {
            Street = street;
            Building = building;
        }

        public string Street { get; private set; }
        [Column("Building")]
        public string Building { get; private set; }
    }
}
